package com.ruoyi.stat.equipment.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.ruoyi.api.dto.equipment.EquipmentStatDto;
import com.ruoyi.api.dto.equipment.EquipmentTypeStatDto;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.stat.equipment.domain.EquipmentStat;
import com.ruoyi.stat.equipment.domain.vo.EquipmentStatVo;

/**
 * 车辆/设备统计数据汇总Mapper接口
 *
 * @author cc
 * @date 2023-04-28
 */
public interface EquipmentStatMapper extends BaseMapperPlus<EquipmentStatMapper, EquipmentStat, EquipmentStatVo> {
	
	int createStatDate(@Param("queryTime") String queryTime);
	
	EquipmentStatDto getEmployeeStatDto(@Param(Constants.WRAPPER) Wrapper<EquipmentStat> queryWrapper);
	
	List<EquipmentTypeStatDto> getEmployeeTypeStatDtoList(@Param(Constants.WRAPPER) Wrapper<EquipmentStat> queryWrapper);
}
